/**
 * HTML Canvas 元素类型
 */
export type HTMLCanvasElement = {
    width: number;
    height: number;
    getContext(contextId: '2d'): CanvasRenderingContext2D | null;
    getBoundingClientRect(): DOMRect;
    addEventListener(type: string, listener: EventListenerOrEventListenerObject): void;
    removeEventListener(type: string, listener: EventListenerOrEventListenerObject): void;
}; 